CRISPR-based assay